﻿/************************************************************************************
Style modułów występująch na więcej niż jednej stronie, lub definiujący podstawowy wygląd modułu, który później jest “dopracowany” w pages.
modules dla lepszej orientacji można dodatkowo rozbić np. na application.modules.forum.css
*************************************************************************************/

ul.tabs {
    margin-left: 98px;
}

    ul.tabs li {
        color: #60BBD9;
        float: left;
        padding: 0 20px;
        cursor: pointer;
    }

    ul.tabs, ul.tabs li {
        height: 50px;
        line-height: 50px;
        list-style-type: none;
    }

        ul.tabs li.selected {
            background-color: #3F8197;
            color: #E7F7FF;
            cursor: default;
        }

.hidden-tab-record-display {
    display: none;
}

/*------------------------------------------     RECORDS HEADER    ----------------------------------------------------------*/


header .recordIdx {
    color: #60BBD9;
    font-size: 1.5em;
    padding: 18px 0;
    text-align: center;
    width: 70px;
}

header .headName {
    width: 300px;
}

    header .headName h1 {
        padding: 18px 0px;
        display: block;
        width: 100%;
    }

    header .headName a.text {
        color: #E7F7FF;
        display: block;
        width: 100%;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

header .buttonHolder {
    font-size: 1.125em;
    padding-bottom: 21px;
    padding-top: 21px;
}

    header .buttonHolder a {
        padding: 6px 26px;
    }

    header .buttonHolder .styleButton {
        background-color: #4FA0BB;
        border: 1px solid #60BBD9;
        color: #015679;
    }

header .twoTextLines {
    font-size: 0.875em;
    line-height: 22px;
}

.recordColumnLine {
    border-color: #3F9785;
    border-style: dotted none;
    border-width: 1px;
    -moz-border-image: url("images/edit-record-border.gif") 1 0 1 0 round round;
    -o-border-image: url("images/edit-record-border.gif") 1 0 1 0 round round;
    -webkit-border-image: url("images/edit-record-border.gif") 1 0 1 0 round round;
    border-image: url("images/edit-record-border.gif") 1 0 1 0 round round;
    margin: 1px 10px;
    padding: 10px 0;
    position: relative;
}

    .recordColumnLine .title {
        color: #60D9D5;
        font-size: 1.125em;
    }

/*------------------------------------------     RECORDS LIST    ----------------------------------------------------------*/
#recordsTable {
    width: 100%;
}

    #recordsTable .row {
        border-color: #3F9785;
        -moz-border-image: url("images/edit-record-border.gif") 1 0 1 0 round round;
        -o-border-image: url("images/edit-record-border.gif") 1 0 1 0 round round;
        -webkit-border-image: url("images/edit-record-border.gif") 1 0 1 0 round round;
        border-image: url("images/edit-record-border.gif") 1 0 1 0 round round;
        border-style: dotted none;
        border-width: 1px;
        margin: 1px 5px;
        padding: 0;
        position: relative;
        display: block;
        height: 30px;
        line-height: 30px;
    }

        #recordsTable .row:hover {
            background-color: #85c226;
            border-style: solid none;
            border-width: 1px;
            border-color: #556d21;
            margin-left: 0px;
            margin-right: 0px;
            padding-left: 5px;
            padding-right: 5px;
        }

    #recordsTable .cell {
    }

    #recordsTable .recordid {
        width: 40px;
        padding-left: 10px;
        float: left;
        color: #868196;
    }

    #recordsTable .row:hover .recordid, #recordsTable .row:hover .identifier a, #recordsTable .row:hover .time a {
        color: #f1ffd2;
    }

    #recordsTable .identifier {
        margin-right: 100px;
    }

        #recordsTable .identifier a.text {
            display: block;
            overflow: hidden;
            -ms-text-overflow: ellipsis;
            -o-text-overflow: ellipsis;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #e7f7ff;
        }

        #recordsTable .identifier a.action {
            display: none;
        }

    #recordsTable .row:hover .identifier {
        float: left;
        width: 60%;
    }

        #recordsTable .row:hover .identifier a.text {
            float: left;
            max-width: 50%;
        }

        #recordsTable .row:hover .identifier a.action {
            color: #556D21;
            display: block;
            float: left;
            font-weight: bold;
            margin-left: 20px;
        }

    #recordsTable .time {
        position: absolute;
        right: 0;
        top: 0;
    }

        #recordsTable .time a {
            color: #e7f7ff;
        }

    #recordsTable .row:hover .time {
        right: 5px;
    }




/* ------------------- RECORDS -------------------------------- */
.search {
    width: 280px;
    margin-top: 7px;
    margin-bottom: 5px;
}

    .search label, .sort .title {
        float: left;
        font-size: 1.125em;
        height: 30px;
        line-height: 30px;
    }

.search-input {
    background-image: url("images/search.png");
    background-position: 195px center;
    background-repeat: no-repeat;
    border: 1px solid #60BBD9;
    float: right;
    width: 220px;
}

    .search-input input {
        -moz-border-bottom-colors: none;
        -moz-border-left-colors: none;
        -moz-border-right-colors: none;
        -moz-border-top-colors: none;
        background-color: #4FA0BB;
        border-color: #60BBD9;
        border-style: none solid none none;
        border-width: medium 1px medium medium;
        display: block;
        height: 30px;
        line-height: 30px;
        margin: 0;
        padding: 0;
        width: 185px;
    }

.sort {
    width: 120px;
    margin: 2px 0px;
}

    .sort .title {
        height: 40px;
        line-height: 40px;
    }

.sort-options {
    float: left;
    margin-left: 20px;
    text-align: left;
}

    .sort-options a {
        color: #60BBD9;
        clear: both;
        display: block;
        float: left;
        font-size: 0.875em;
        line-height: 20px;
        padding-right: 20px;
    }

        .sort-options a.sort-asc, .sort-options a.sort-desc {
            background-position: right center;
            background-repeat: no-repeat;
            color: #E7F7FF;
        }

        .sort-options a.sort-asc {
            background-image: url(images/sort-asc.gif);
        }

        .sort-options a.sort-desc {
            background-image: url(images/sort-desc.gif);
        }


/*JSCROLLPANE*/
/*
 * CSS Styles that are needed by jScrollPane for it to operate correctly.
 *
 * Include this stylesheet in your site or copy and paste the styles below into your stylesheet - jScrollPane
 * may not operate correctly without them.
 */

.jspContainer {
    overflow: hidden;
    position: relative;
}

.jspPane {
    position: absolute;
}

.jspVerticalBar {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    background: red;
}

.jspHorizontalBar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background: red;
}

    .jspVerticalBar *,
    .jspHorizontalBar * {
        margin: 0;
        padding: 0;
    }

.jspCap {
    display: none;
}

.jspHorizontalBar .jspCap {
    float: left;
}

.jspTrack {
    background: #5A546B;
    position: relative;
    padding: 0px;
}

.jspDrag {
    border-style: solid;
    border-width: 5px 3px 5px 3px;
    border-color: #5A546B;
    background: #3F8197;
    position: relative;
    top: 0;
    left: 0;
    cursor: pointer;
}

.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag {
    float: left;
    height: 100%;
}

.jspArrow {
    background: #50506d;
    text-indent: -20000px;
    display: block;
    cursor: pointer;
}

    .jspArrow.jspDisabled {
        cursor: default;
        background: #80808d;
    }

.jspVerticalBar .jspArrow {
    height: 16px;
}

.jspHorizontalBar .jspArrow {
    width: 16px;
    float: left;
    height: 100%;
}

.jspVerticalBar .jspArrow:focus {
    outline: none;
}

.jspCorner {
    background: #eeeef4;
    float: left;
    height: 100%;
}

/* Yuk! CSS Hack for IE6 3 pixel bug :( */
* html .jspCorner {
    margin: 0 -3px 0 0;
}




/*-------------------------------------------------------------------  MESSAGES -------------------------------------------------------------------*/
a.message {
    display: block;
    -moz-background-size: 40px 40px;
    -o-background-size: 40px 40px;
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .05) 75%, transparent 75%, transparent);
    -webkit-box-shadow: inset 0 -1px 0 rgba(255,255,255,.4);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.4);
    width: 98%;
    border: 1px solid;
    color: #fff;
    text-decoration: none;
    padding: 1%;
    position: fixed;
    _position: absolute;
    left: 0;
    bottom: 0;
    -webkit-text-shadow: 0 1px 0 rgba(0,0,0,.5);
    text-shadow: 0 1px 0 rgba(0,0,0,.5);
    -moz-animation: animate-bg 5s linear infinite;
    -o-animation: animate-bg 5s linear infinite;
    -webkit-animation: animate-bg 5s linear infinite;
    animation: animate-bg 5s linear infinite;
    z-index: 1000;
}

.message-progress-wrap {
    background-color: rgba(255,255,255,0.3);
    height: 12px;
    -webkit-box-shadow: inset 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}

.message-progress {
    background-color: rgba(255,255,255,0.5);
    height: 100%;
    width: 0%;
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(229,229,229,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=\'#ffffff\', endColorstr=\'#e5e5e5\',GradientType=0 ); /* IE6-9 */
}

.message-info {
    background-color: #4ea5cd;
    border-color: #3b8eb5;
}

.message-error {
    background-color: #de4343;
    border-color: #c43d3d;
}

.message-warning {
    background-color: #eaaf51;
    border-color: #d99a36;
}

.message-success {
    background-color: #61b832;
    border-color: #55a12c;
}

.message h3 {
    margin: 0 0 5px 0;
}

.message p {
    margin: 0;
}

@keyframes animate-bg {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -80px 0;
    }
}

.gallery-wrapper {
}

    .gallery-wrapper .photos {
    }

        .gallery-wrapper .photos .item {
            float: left;
            margin: 10px;
            position: relative;
        }

            .gallery-wrapper .photos .item a {
                background-color: #3F9785;
border: 1px solid #60D9D5;
color: #225449;
cursor: pointer;
display: none;
float: right;
margin-top: 2px;
padding: 6px 10px;
            }
            .gallery-wrapper .photos .item:hover a {
                display:block;
            }
.upload-holder {
    background-color: #514C60;
    clear: both;
    padding: 2%;
    width: 96%;
}

    .upload-holder span.title {
        padding: 5px 0px;
    }
